package com.chianghao.qyt.auth;

import java.util.Set;

public class LoginUser {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 是否超级管理员工
     */
    public Boolean superAdmin;

    /**
     * 账号
     */
    private String account;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 操作权限ID
     */
    private Set<Long> roles;

    /**
     * 数据权限ID
     */
    private Set<Long> dataIds;

    /**
     * 所属商户
     */
    private Long tenantId;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Boolean getSuperAdmin() {
        return superAdmin;
    }

    public void setSuperAdmin(Boolean superAdmin) {
        this.superAdmin = superAdmin;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Set<Long> getRoles() {
        return roles;
    }

    public void setRoles(Set<Long> roles) {
        this.roles = roles;
    }

    public Set<Long> getDataIds() {
        return dataIds;
    }

    public void setDataIds(Set<Long> dataIds) {
        this.dataIds = dataIds;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
